package com.dfba.Homework4;

public class Dog extends Animal {
    public Dog(String name, double weight) {
        super(name, weight);
    }

    @Override
    void eat() {
        System.out.println(super.getName()+"吃骨头");
    }
    public void lookHome(){
        System.out.println("老老实实看家");
    }
}
